<template>
<!-- <div>{{$store.state.user.profile.account}}</div> -->
  <div class="container">
    <!-- 修改数据，测试是否持久化 -->
    App {{$store.state.user.profile.account}}
    {{$store.state.user.profile.id}}
    <button @click="$store.commit('user/setUser',{account:'zhousg',id:'445'})">设置用户信息</button>
  </div>
</template>
<script>
import {useStore} from 'vuex'
export default{
  name:'App'

}

</script>

<style>

</style>


